package com.onlineMIS.action.headQ.inventoryFlow;

import java.io.File;
import java.io.InputStream;
import java.sql.Date;

import com.onlineMIS.ORM.entity.base.Pager;
import com.onlineMIS.ORM.entity.headQ.barcodeGentor.ProductBarcode;
import com.onlineMIS.ORM.entity.headQ.inventory.HeadqInventoryFlowOrder;
import com.onlineMIS.action.chainS.ChainActionFormBaseBean;


public class HeadqInventoryFlowFormBean extends ChainActionFormBaseBean{
	
	private int parentId = 0;
	private int storeId = 1;
	private int yearId = 0;
	private int quarterId = 0;
	private int brandId = 0;
	private int categoryId =0;
	private int categoryLevelId;
	/**
	 * 1: by brandId
	 * 2: by categoryId
	 */
	private int rptTypeId;
	
    //file download
	private InputStream fileStream;
	private String fileName;
	private int pbId;
	
	private File inventory = null;
	
	private ProductBarcode pb = new ProductBarcode();
	private int indexPage;
	private int fromSrc;
	private Pager pager = new Pager();
	
	private Date searchStartTime = new Date(new java.util.Date().getTime());
	private Date searchEndTime = new Date(new java.util.Date().getTime());
	
	private HeadqInventoryFlowOrder flowOrder = new HeadqInventoryFlowOrder();
	
	
	public HeadqInventoryFlowFormBean(int parentId, int storeId, int yearId, int quarterId, int brandId,int categoryId,int categoryLevelId,int rptTypeId,
			InputStream fileStream, String fileName, int pbId, ProductBarcode pb, int indexPage, int fromSrc,
			Date searchStartTime,Date searchEndTime, HeadqInventoryFlowOrder flowOrder) {
		super();
		this.parentId = parentId;
		this.storeId = storeId;
		this.yearId = yearId;
		this.quarterId = quarterId;
		this.brandId = brandId;
		this.categoryId = categoryId;
		this.categoryLevelId = categoryLevelId;
		this.rptTypeId = rptTypeId;
		this.fileStream = fileStream;
		this.fileName = fileName;
		this.pbId = pbId;
		this.pb = pb;
		this.indexPage = indexPage;
		this.fromSrc = fromSrc;
		this.searchStartTime = searchStartTime;
		this.searchEndTime = searchEndTime;
		this.flowOrder = flowOrder;
	}
	
	public HeadqInventoryFlowFormBean() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	
	public int getCategoryId() {
		return categoryId;
	}
	public void setCategoryId(int categoryId) {
		this.categoryId = categoryId;
	}
	public int getCategoryLevelId() {
		return categoryLevelId;
	}
	public void setCategoryLevelId(int categoryLevelId) {
		this.categoryLevelId = categoryLevelId;
	}
	public int getRptTypeId() {
		return rptTypeId;
	}
	public void setRptTypeId(int rptTypeId) {
		this.rptTypeId = rptTypeId;
	}
	public File getInventory() {
		return inventory;
	}
	public void setInventory(File inventory) {
		this.inventory = inventory;
	}
	public Date getSearchStartTime() {
		return searchStartTime;
	}
	public void setSearchStartTime(Date searchStartTime) {
		this.searchStartTime = searchStartTime;
	}
	public Date getSearchEndTime() {
		return searchEndTime;
	}
	public void setSearchEndTime(Date searchEndTime) {
		this.searchEndTime = searchEndTime;
	}
	public Pager getPager() {
		return pager;
	}
	public void setPager(Pager pager) {
		this.pager = pager;
	}
	public ProductBarcode getPb() {
		return pb;
	}
	public void setPb(ProductBarcode pb) {
		this.pb = pb;
	}
	public int getIndexPage() {
		return indexPage;
	}
	public void setIndexPage(int indexPage) {
		this.indexPage = indexPage;
	}
	public int getFromSrc() {
		return fromSrc;
	}
	public void setFromSrc(int fromSrc) {
		this.fromSrc = fromSrc;
	}
	
	public HeadqInventoryFlowOrder getFlowOrder() {
		return flowOrder;
	}
	public void setFlowOrder(HeadqInventoryFlowOrder flowOrder) {
		this.flowOrder = flowOrder;
	}
	public int getPbId() {
		return pbId;
	}
	public void setPbId(int pbId) {
		this.pbId = pbId;
	}
	public InputStream getFileStream() {
		return fileStream;
	}
	public void setFileStream(InputStream fileStream) {
		this.fileStream = fileStream;
	}
	public String getFileName() {
		return fileName;
	}
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	public int getParentId() {
		return parentId;
	}
	public void setParentId(int parentId) {
		this.parentId = parentId;
	}
	public int getStoreId() {
		return storeId;
	}
	public void setStoreId(int storeId) {
		this.storeId = storeId;
	}
	public int getYearId() {
		return yearId;
	}
	public void setYearId(int yearId) {
		this.yearId = yearId;
	}
	public int getQuarterId() {
		return quarterId;
	}
	public void setQuarterId(int quarterId) {
		this.quarterId = quarterId;
	}
	public int getBrandId() {
		return brandId;
	}
	public void setBrandId(int brandId) {
		this.brandId = brandId;
	}
	
	
	
}
